package com.xiaoye.entity;

import com.xiaoye.constant.Photo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author 宵夜
 * @version 1.0.0
 * @Description: TODO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Department implements Serializable {


    /**
     * 主键ID
     */
    private Integer id;

    /**
     * 部门编号
     */
    private String no;

    /**
     * 部门名称
     */
    private String name;

    /**
     * 部门部长ID
     */
    private Integer leaderId;

    /**
     * 学院ID
     */
    private Integer collegeId;

    /**
     * 登录密码
     */
    private String password;

    /**
     * 头像
     */
    private String img = Photo.department;

    /**
     * 部长
     */
    private Teacher leader;

    /**
     * edit里的修改和删除
     */
    private String oper;

    /**
     * 学院
     */
    private College college;
}
